<template>
	<view class="load-main">
		<view class="load-box">
			<view class="load-text">登录</view>
		<view class="load-input">
			<input type="text" class="input" placeholder="请输入账号">
		</view>
	 	<view class="load-input">
	 		<input type="text" class="input" placeholder="请输入密码"/>
	 	</view>
		<view class="load-button">
			<button class="load-button-style" type="primary" @click="gonavigates('tabcompage')">登录</button>
		</view>
		<view class="load-boxs" @click="gonavigate('register')">没有账号？去注册</view>
	    </view>
    </view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			gonavigate(){
				uni.reLaunch({
					url:'/pages/login/register/register'
				});
			},
			gonavigates(){
				uni.switchTab({
					url:'/pages/News Interface/News Interface/News Interface'
				});
			}
		}		
	}
</script>

<style>

</style>
